import { ICat } from '@/models/Cat';

export const CatColumns = [
  {
    title: '序号',
    dataIndex: 'index',
    render: (text: string, record: ICat, index: number) => index + 1,
  },
  {
    title: '名称',
    dataIndex: 'name',
  },
  {
    title: '描述',
    dataIndex: 'description',
  },
  {
    title: '类别',
    dataIndex: 'type',
  },
];
